package com.lyb.mvp.core;

import android.os.Bundle;
import android.view.View;

/**
 * Created by lyb on 2017/7/27.
 * Email: 1373519715@qq.com
 * Blog: https://littleiii.github.io
 */


public interface IView<P> {
    void bindUI(View rootView);

    void bindEvent();

    void initData(Bundle savedInstanceState);

    int getOptionsMenuId();

    int getLayoutId();

    boolean useEventBus();

    P newP();
}
